package com.cloudptt.wp.utils;

import java.util.ArrayList;
import java.util.List;

public class MapCityInfo {

	private String cityName;
	
	private String mapType;
	
	private int type;
	
	private String normalMapPath;
	
	private String thirdDMapPath;
	
	private String satMapPath;
	
	private int mapNum = 0;
	
	private List<String> maps = new ArrayList<String>();
	
	private boolean hasNormal;
	
	private boolean has3D;
	
	private boolean hasSat;
	
	private List<String> mapPaths = new ArrayList<String>();
	private List<String> mapName = new ArrayList<String>();
	
	public MapCityInfo() {
		// TODO Auto-generated constructor stub
	}
	
	public void setCityName(String cityName){
		this.cityName = cityName;
	}
	
	public String getCityName(){
		return cityName;
	}
	
	public void setNormalPath(String normalMapPath){
		mapNum++;
		hasNormal = true;
		this.normalMapPath = normalMapPath;
	}
	
	public String getNormalPath(){
		return normalMapPath;
	}
	
	public void setThirdDPath(String thirdDMapPath){
		mapNum++;
		has3D = true;
		this.thirdDMapPath = thirdDMapPath;
	}
	
	public String getThirdDPath(){
		return thirdDMapPath;
	}
	
	public void setSatPath(String satMapPath){
		mapNum++;
		hasSat = true;
		this.satMapPath = satMapPath;
	}
	
	public String getSatPath(){
		return satMapPath;
	}
	
	public int getMapNum(){
		return mapNum;
	}
	
	public void addMapPath(String path){
		mapPaths.add(path);
		
		mapName.add(path.substring(path.lastIndexOf("/")+1, path.lastIndexOf(".")));
	}
	
	public List<String> getMapPaths(){
		return mapPaths;
	}
	
	public List<String> getMapName(){
		return mapName;
	}
}
